'use strict'

const Koa = require('koa')
const router = require('./router/routes')
const bodyParser = require('koa-bodyparser')

let app = new Koa()


app.use(bodyParser())
app.use(router.routes())

let post = 3000
app.listen(post)

console.log(`Server is running http://localhost:${post}`);
